﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZerAx.Net;

namespace BlockOS.Server
{
    public class MapManager : ScheduledModule
    {
        public const int CHUNK_SAVE_SCHEDULE = 6000;
        private readonly GameServer server;
        public MapManager(GameServer server) : base(CHUNK_SAVE_SCHEDULE)
        {
            this.server = server;
        }

        public void OnReceiveMapRequest(int connId, Packet recvPacket)
        {
            
        }

        public override void ScheduledTick()
        {
            server.LogMessage("Map Saving...");
        }
    }
}
